namespace :bld do
  desc "get data and export"
  task :bat => :environment do
    puts time = Time.now
    Rake::Task['bld:get_acr_data'].invoke
    Rake::Task['bld:get_work_info'].invoke
    Rake::Task['bld:ranking_work_info_fixed'].invoke
    Rake::Task['bld:export_to_csv'].invoke
    puts "#{Time.now - time} second! all complete!!"
  end
end


